package com.bootdo.appsystem.dao;

import com.bootdo.appsystem.domain.RedrateDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author chglee
 * @email 806181255@qq.com
 * @date 2018-06-07 10:00:30
 */
@Mapper
public interface RedrateDao {

	RedrateDO get(Integer id);
	
	List<RedrateDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(RedrateDO redrate);
	
	int update(RedrateDO redrate);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
